<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Kitten Layer</title>
        <link rel="stylesheet" href="./leaflet.css" />
        <style>
            #map {
                width: 512px;
                height: 256px;
                border: 1px solid black;
                margin: 10px auto;
            }
        </style>
    </head>
    <body>
        <h1>Kitten Layer</h1>
        <div id="map"></div>
        <script src="leaflet.js"></script>
        <script src="L.KittenLayer.js"></script>
        <script src="L.GridLayer.DebugCoords.js"></script>
        <script>
            const map = L.map('map', {
                minZoom: 0,
                crs: L.CRS.Simple,
                bounds: [
                    [0, 0],
                    [1024, 1024],
                ],
            });
            map.setView([1, 1], 2);

            L.tileLayer.kitten().addTo(map);

            map.addLayer(L.gridLayer.debugCoords());
        </script>
    </body>
</html>
